import 'package:flutter/material.dart';

class TabControllerProvider extends ChangeNotifier{
  int _currentIndex = 0;
  int get currentIndex =>_currentIndex;

  set currentIndex(int index){
    if(_currentIndex != index){
      _currentIndex = index;
      notifyListeners();
    }
  }

}